Switched to objects in file browser

Switched from array notation to object notation