fixed preprocessor macro definition
added ability to insert files