Creating and using a custom file