Updated to take any filename