compiling from file