change getFileInfo -> getFile, originPath -> history[0]

get the father file object from vinyl object