Implemented file export feature