Actually working file configuration and gnuplot generation