Changed file size from int to long, for large files