added functionallity to the files Parameter