Added a partial support of the raw format (WIP)