Cleaned up file loading and added missing documentation to task.rb