Fixed adding a file.