Requiring the result of file_exists instead of the real path is not the most intelligent idea in the world