file export working