prevent creating of duplicate files