Added checking if files for extends are there / exists