Parse the given file/directory. For files, modifies path to be the base name for .test / .reduced directories.
See Implementation
Parse the given file/directory. For files, modifies path to be the base name for .test / .reduced directories.