moving getting commitID for changes for a specific file to file manager
class