Edited to allow meta files