Implemented file export function and interface for uploading data