generic rawfile without orientation corrections needed is almost there. we need to adjust the query now