- fixed bug when a pattern was used to select files
- moved the method to