Fixed a few bugs. Removed path from filename