Webgen: added new helper method isFileCurrent()