[BUGFIX] Correct return type for FileReference methods