Cut extraneous files