the file.path contains platform-specific directory separators, on my machine (win8.1) these are '\' and not '/'