Resize and crush files from a directory