VCS: file path - when asked for document check file type