Add a function that lets you check how many bits a file can fit