Guess the project name and document version from the filename