code: function getFile(file){
      file = path.resolve(file);
  
      if(!register[file]){
        return new Error('File '+ file +' not found in file register.');
      }
  
      return register[file] || null;
    }
docs: Get file