add FileExists and FileMTime functions