Nested controller to get file name