add within_file_structure helper method