Added a proper way to ignore the .metadata