add in file type into the preview serialiser so the front end can see it

![screenshot 2014-12-22 10 43 58](https://cloud.githubusercontent.com/assets/74699/5529428/cc9f8ddc-89c8-11e4-8f8c-a30a627da903.png)