Remove FILE_PATH_ERROR error code and modify tests