Added file handling
Merge the application
Bug: only for non multiple of 8-byte files