Got file attributes for file to put into img