fix windows path
improve testFile

file of dependencies contain extension