now checks if there is a custom file before loading it