Basic sketch of the script, need to figure out how to handle filenames with spaces