move file set dataset type into its own module

I have tested in Standalone. Waiting for a beamer cluster to verify it works in distributed mode. 
oops missed that. copy & paste :)