Generate hadoops files