bit better cover and default value if file isnt checked