added support for copied files