Fixed issue with blank files on initial load.