organizes view files by directory