added file loading

doesnt support floating point numbers yet