File stuff...need to test on windows...