Sorting out files for homepage