files now work for both directories and files