Sorting out files and stuff.