Do not count files ending in '~'
Support custom source path