new functions

-constant block
-load from xml
-filename using textfield