add support custom file extension