Fix custom file