check if file_path is in the old values before trying to use it