Feature/file separate module

This was already reviewed against develop. see https://github.com/caskdata/cdap/pull/698. Verified on standalone and beamer cluster.