[File Support Plugin] Refactored to comply with the new generated API.