Added shutil functions, checks for file size