Oscap source

This assumes we are exporting files but the documentation doesn't mention anything about it. Either let user write a specific error message or document that this is only for file exporting.