Updated how files are stored in data attributes & sent to the editor
opening up a file from a newly opened directory should no longer cause an error.