Added checking if 404 page file exists