How to do if Target is Flat file