Added filemanager.rb.

Defines singleton class FileManager.