Added testcases and a File struct