Optimizing for exisiting file present.