-Now scan data is stored in separate data/ folder
-HDF5 file is renamed after closing to prevent it from being overwritten
later