Update file mode
Add functions to access elements, rows and columns