Register fs mock with file contents.
Add custom options for secure connection.