# Why not set objectId for ParseFile?

**URL:** <https://community.parseplatform.org/t/why-not-set-objectid-for-parsefile/2236>\
**Category:** Parse Server 📡\
**Tags:** discussion\
**Created:** [December 1, 2021, 6:46am UTC](https://community.parseplatform.org/t/why-not-set-objectid-for-parsefile/2236 "2021-12-01T06:46:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![badboy\_tian](https://community.parseplatform.org/user_avatar/community.parseplatform.org/badboy_tian/32/656_2.png) [@badboy\_tian](https://community.parseplatform.org/u/badboy_tian)\
**Post date:** [December 1, 2021, 6:46am UTC](https://community.parseplatform.org/t/why-not-set-objectid-for-parsefile/2236/1 "2021-12-01T06:46:02Z")

</div>

why not set objectId for ParseFile? if do so, we can find a file by objectId

---

<div class="post-metadata">

**Author:** ![uzaysan](https://community.parseplatform.org/user_avatar/community.parseplatform.org/uzaysan/32/59_2.png) [@uzaysan](https://community.parseplatform.org/u/uzaysan)\
**Post date:** [December 1, 2021, 9:27am UTC](https://community.parseplatform.org/t/why-not-set-objectid-for-parsefile/2236/2 "2021-12-01T09:27:39Z")

</div>

File name is unique so you can use file name as id. İf you know the name, you can get the file

---

<div class="post-metadata">

**Author:** ![RaschidJFR](https://community.parseplatform.org/user_avatar/community.parseplatform.org/raschidjfr/32/611_2.png) [@RaschidJFR](https://community.parseplatform.org/u/RaschidJFR)\
**Post date:** [December 1, 2021, 10:31pm UTC](https://community.parseplatform.org/t/why-not-set-objectid-for-parsefile/2236/3 "2021-12-01T22:31:54Z")

</div>

@badboy_tian What would be a use case for this?
