Check if file exists before loading with loadyaml. If not, return nil

In ```loadyaml``` function, check if file exists before trying to import. If not exists, return nil.