Split file manager

@Elmira88 I split the write to hdfs `FileManager` so that it an be used by storing the walk also. 
Please have a look