Removing file plugin and using localstorage instead