modifies file name with rev hash