remove unneeded requierements in File, closes #1
just little reformating of code