Obviously, this file was copied from fig/protocol/file.rb.