Check File.file? first to avoid second stat()
Let File.expand_path also do the join