Fix for file elements

Fix for file elements