convert files to erb