make sure the location's file member is initialized