Fixed FileDataGenerator to work in NetBeans with commented out option for
outside of netbeans