Added generic file type

Needs finishing