Added a sanity file existance check to log upload