Default [Q] How to block a specific site directory

How would I block a specific directory/file on a site such as e.g. example. com/someSite/file.php? As far as i know it can't be done via host files and i've seen no apps so far that are for doing such things.

Phone: Verizon Samsung Galaxy S4
Model number: SCH-I545
Android version: 4.3
Kernel version: 3.4.0
Baseband Version: 1545VRUEMJ7
Hardware version: I545.06