Creates a random access file stream to read from, and optionally to write to, a file with the specified name.