Fixed bug with files in components