get a pile of files and keep their structure