maintain file extension unless specified in config
maintain directory structure