Assert that file.path != NULL