Add mtime method to file type