Fixing file test. (old code?)